{ "metadata": { "kernelspec": { "codemirror_mode": { "name": "ipython", "version": 2 }, "display_name": "IPython (Python 2)", "language": "python", "name": "python2" }, "name": "", "signature": "sha256:7dfb60bad8050837b444209197ecee458e8c7be4edff10817ecdbaf61a7040c2" }, "nbformat": 3, "nbformat_minor": 0, "worksheets": [ { "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "#Table of Contents\n", "* [1. Maps](#1.-Maps)\n", "\t* [1.1 Google Geochart](#1.1-Google-Geochart)\n", "\t* [1.2 Google Map Directions](#1.2-Google-Map-Directions)\n", "\t* [1.3 Google Colored Maps](#1.3-Google-Colored-Maps)\n", "* [2. Timelines](#2.-Timelines)\n", "\t* [2.1 Google Timelines](#2.1-Google-Timelines)\n", "\t* [2.2 Timeline JS](#2.2-Timeline-JS)\n", "* [3. Story Maps](#3.-Story-Maps)\n", "* [4. Presentations](#4.-Presentations)\n", "\t* [4.1 Google Slideshows](#4.1-Google-Slideshows)\n", "\t* [4.2 Prezis](#4.2-Prezis)\n", "* [5. Charts and Graphs](#5.-Charts-and-Graphs)\n", "\t* [5.1 Histogram](#5.1-Histogram)\n", "\t* [5.2 Area Chart](#5.2-Area-Chart)\n", "\t* [5.3 Scatter Plot](#5.3-Scatter-Plot)\n", "\t* [5.4 Pie Chart](#5.4-Pie-Chart)\n", "\t* [5.5 Line Chart](#5.5-Line-Chart)\n", "\t* [5.6 Column Chart](#5.6-Column-Chart)\n", "\t* [5.7 Bar Chart](#5.7-Bar-Chart)\n", "\t* [5.8 Motion Chart](#5.8-Motion-Chart)\n", "* [6. Data](#6.-Data)\n", "\t* [6.1 Google Spreadsheets](#6.1-Google-Spreadsheets)\n", "* [7. Videos](#7.-Videos)\n", "* [8. Other Embeddable Visuals](#8.-Other-Embeddable-Visuals)\n", "\t* [8.1 National Weather Service](#8.1-National-Weather-Service)\n", "\t* [8.2 Wikipedia Articles](#8.2-Wikipedia-Articles)\n", "* [9. Document Collaboration](#9.-Document-Collaboration)\n", "\t* [9.1 Commenting By Disqus](#9.1-Commenting-By-Disqus)\n", "* [10. Bibliographic Support](#10.-Bibliographic-Support)\n", "\t* [10.1 Internal BibTex Database](#10.1-Internal-BibTex-Database)\n", "\t* [10.2 Example Text With In-Line Citations](#10.2-Example-Text-With-In-Line-Citations)\n", "\t* [10.3 Example References List](#10.3-Example-References-List)\n" ] }, { "cell_type": "code", "collapsed": false, "input": [ "from calico.widgets import GoogleChart\n", "from IPython.display import display, HTML" ], "language": "python", "metadata": {}, "outputs": [], "prompt_number": 13 }, { "cell_type": "heading", "level": 1, "metadata": {}, "source": [ "1. Maps" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "1.1 Google Geochart" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "For more information on how to make Geoharts, you can learn more about Google Charts at the [Calico Project Wiki](calicoproject.org/ICalico)" ] }, { "cell_type": "code", "collapsed": false, "input": [ "GoogleChart(\"GeoChart\", ['Country', 'Variable Measured'], \n", " [['United States', 20], \n", " ['United Kingdom', 20],\n", " ['France', 20], \n", " ['China', 20], \n", " ['Poland', 10], \n", " ['Canada', 10], \n", " ['Australia', 10],\n", " ['New Zealand', 10], \n", " ['Yugoslavia', 10], \n", " ['Greece', 10], \n", " ['Netherlands', 10], \n", " ['Belgium', 10], \n", " ['South Africa', 10], \n", " ['Norway', 10], \n", " ['Czech Republic', 10], \n", " ['Slovakia', 10], \n", " ['Ethiopia', 10], \n", " ['Brazil', 10], \n", " ['Denmark', 10], \n", " ['Luxembourg', 10], \n", " ['Cuba', 10], \n", " ['Mexico', 10], \n", " ['Russia', 20],\n", " ['Ukraine', 20], \n", " ['Uzbekistan', 20], \n", " ['Kazakhstan', 20], \n", " ['Belarus', 20], \n", " ['Georgia', 20], \n", " ['Azerbaijan', 20], \n", " ['Moldova', 20], \n", " ['Kirghizstan', 20], \n", " ['Armenia', 20], \n", " ['Latvia', 20], \n", " ['Estonia', 20], \n", " ['Lithuania', 20], \n", " ['Turkmenistan', 20], \n", " ['Tajikistan', 20], \n", " ['Germany', 100], \n", " ['Japan', 100], \n", " ['Italy', 100], \n", " ['Hungary', 100], \n", " ['Romania', 100], \n", " ['Bulgaria', 100]])" ], "language": "python", "metadata": {}, "outputs": [ { "html": [ "\n", "
\n", "\n", "" ], "metadata": {}, "output_type": "pyout", "prompt_number": 12, "text": [ "